package com.ethink.warehouse.common.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.ethink.framework.common.db.SuperEntity;

/**
 * 仓库分仓 数据库实体
 *
 * @author default
 * @date 2022-11-15
 */
@Data
@TableName("t_sub_warehouse")
public class SubWarehouse extends SuperEntity {

    public static final String SUB_WAREHOUSE_CODE ="sub_warehouse_code";

    public static final String SUB_WAREHOUSE_NAME ="sub_warehouse_name";

    public static final String WAREHOUSE_ID ="warehouse_id";

    public static final String WAREHOUSE_BOOK_ID ="warehouse_book_id";

    public static final String SUB_WAREHOUSE_TYPE ="sub_warehouse_type";

    public static final String IS_OUTBOUND ="is_outbound";

    public static final String IS_VIRTUAL ="is_virtual";

    public static final String SUB_WAREHOUSE_STATUS ="sub_warehouse_status";

    public static final String OWNER ="owner";

    public static final String OWNER_NAME ="owner_name";


    /** 分仓编号 */
    private String subWarehouseCode;

    /** 分仓名称 */
    private String subWarehouseName;

    /** 主仓ID */
    private Long warehouseId;

    /** 主仓账册ID */
    private Long warehouseBookId;

    /** 枚举 仓库性质:1-境外中转仓(t1)|2-国内保税仓(t2)|3-平台寄售仓(t3)|4-境外虚拟仓(t4)|5-平台保税仓(t5)|6-跨境办公室仓(t6) */
    private Integer subWarehouseType;

    /** 枚举 状态:1-启用(open)|2-关闭(close) */
    private Integer subWarehouseStatus;

    /** 所属货主编码 */
    private String owner;

    /** 所属货主名称 */
    private String ownerName;

    /** 吉客云仓库编号 */
    private String jkyWarehouseCode;
}
